package com.gy.boot;

import cn.hutool.cron.CronUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class BootDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(BootDemoApplication.class, args);
        System.out.println("=== START SUCCESS BootDemo ===");
        System.out.println("=== 启动定时器 ===");
        CronUtil.start(); // 启动定时器
    }

}

